package com.ssm.hyl.dao;

import java.sql.SQLException;
import java.util.List;

/**
 * UserDao
 *
 * @author hyl
 * @date 2024-12-13
 */
public interface UserDao {

    public List findAll() throws SQLException;
    public Object findById(int id) throws SQLException;

    int add(Object user);
    int delete(int id);
    int update(Object user);

}
